//out:../css/
.main {
    #carouselExampleIndicators {
        .carousel-indicators {
            button {
                width: 8px;
                height: 8px;
                border-radius: 50%;
            }
        }

        .carousel-control-prev,
        .carousel-control-next,
        .carousel-indicators {
            opacity: 0;
        }

        &:hover .carousel-control-prev,
        &:hover .carousel-control-next,
        &:hover .carousel-indicators {
            opacity: 1;
        }
    }
}

.in-course {
    display: flex;
    justify-content: space-between;
    padding-top: 70px;
    padding-bottom: 150px;
    padding-left: 0;
    width: 1200px;
    height: 459px;

    .course-item {
        width: 282px;
        height: 239px;

        a {
            display: block;
            width: 282px;
            height: 239px;
            padding: 30px;
            border-radius: 20px;
            background: rgba(255, 255, 255, 1);
            text-align: center;

            img {
                width: 120px;
                height: 120px;
            }

            h3 {
                font-size: 24px;
                font-weight: 400;
                margin-top: 20px;
                letter-spacing: 0px;
                line-height: 28.13px;
                color: rgba(51, 51, 51, 1);
            }

            &:hover {
                background: rgba(24, 66, 182, 1);
            }

            &:hover h3 {
                color: rgba(255, 255, 255, 1);
            }
        }
    }
}

.guarantee {
    .in-detail {
        display: flex;
        justify-content: space-between;
        width: 1200px;
        height: 610px;
        margin-top: 60px;
        margin-bottom: 150px;

        .item-guarantee {
            width: 282px;
            height: 459px;

            img {
                width: 282px;
                height: 459px;
            }
        }
    }
}

.offline {
    .off-course {
        display: flex;
        width: 1200px;
        height: 278px;
        border-bottom: 1px solid rgba(228, 231, 235, 1);

        .item-oc {
            text-align: center;
            width: 300px;
            height: 278px;
            padding-top: 60px;

            img {
                width: 120px;
                height: 120px;
            }

            h3 {
                font-size: 24px;
                font-weight: 400;
                margin-top: 30px;
                letter-spacing: 0px;
                line-height: 28.13px;
                color: rgba(51, 51, 51, 1);
            }

            &.active {
                border-bottom: 4px solid rgba(24, 66, 182, 1);
            }
        }

    }

    .class-content-list {
        width: 1200px;
        height: 427px;

        .item-class-content {
            display: none;
            width: 1200px;
            height: 427px;

            &.active {
                display: block;
            }

            .single-class-content-list {
                display: flex;
                justify-content: space-between;
                width: 1200px;
                height: 427px;
                padding-top: 50px;

                .single-item-class-content {
                    height: 100%;

                    &:nth-child(1) {
                        width: 270px;

                        .job-list {
                            display: flex;
                            flex-direction: column;
                            justify-content: space-between;

                            .item-job {
                                width: 270px;
                                height: 104px;
                                border-radius: 12px;
                                margin-bottom: 8px;
                                padding-left: 30px;
                                padding-top: 15px;
                                background-color: rgba(228, 231, 235, 1);

                                h5 {
                                    font-size: 40px;
                                    font-weight: 500;
                                    letter-spacing: 0px;
                                    line-height: 46.88px;
                                    color: rgba(51, 51, 51, 1);
                                }

                                p {
                                    margin-top: 2px;
                                    font-size: 18px;
                                    font-weight: 400;
                                    letter-spacing: 0px;
                                    line-height: 21.1px;
                                    color: rgba(51, 51, 51, 1);
                                }
                            }

                            .item-job-1 {
                                width: 270px;
                                height: 104px;
                                padding: 20px;
                                border-radius: 12px;
                                margin-bottom: 8px;
                                padding-top: 15px;
                                background-color: rgba(228, 231, 235, 1);

                                span {
                                    font-size: 20px;
                                    font-weight: 400;
                                    letter-spacing: 0px;
                                    line-height: 28px;
                                    color: rgba(51, 51, 51, 1);
                                }
                            }
                        }
                    }

                    &:nth-child(2) {
                        width: 311px;

                        p {
                            width: 311px;
                            height: 328px;
                            padding: 30px;
                            border-radius: 12px;
                            background: rgba(247, 251, 254, 1);
                            font-size: 17px;
                            font-weight: 400;
                            letter-spacing: 0px;
                            line-height: 28px;
                            color: rgba(51, 51, 51, 1);
                        }
                    }

                    &:nth-child(3) {
                        width: 311px;

                        .schedule {
                            display: flex;
                            flex-direction: column;
                            justify-content: space-between;
                            width: 100%;
                            height: 328px;
                            border-radius: 12px;
                            padding: 30px;
                            background: rgba(247, 251, 254, 1);

                            .item-schedule {
                                font-size: 20px;
                                font-weight: 400;
                                letter-spacing: 0px;
                                line-height: 23.44px;
                                color: rgba(51, 51, 51, 1);
                            }
                        }
                    }

                    &:nth-child(4) {
                        width: 228px;

                        .infonav {
                            display: flex;
                            flex-direction: column;
                            justify-content: space-between;
                            width: 100%;
                            height: 328px;

                            .iteminfo {
                                width: 100%;
                                height: 70px;
                                border-radius: 12px;
                                margin-bottom: 16px;

                                a {
                                    width: 100%;
                                    height: 70px;
                                    display: flex;
                                    justify-content: space-between;
                                    align-items: center;
                                    border-radius: 12px;
                                    padding: 20px;
                                    background: rgba(255, 255, 255, 1);
                                    border: 1px solid rgba(228, 231, 235, 1);
                                    box-shadow: 0px 10px 14px 4px rgba(235, 241, 245, 0.6);

                                    p {
                                        font-size: 18px;
                                        font-weight: 400;
                                        letter-spacing: 0px;
                                        line-height: 21.1px;
                                        color: rgba(51, 51, 51, 1);
                                    }

                                    .iconfont {
                                        font-size: 10px;
                                        color: rgba(153, 153, 153, 1);
                                    }

                                    &:hover {
                                        background: rgba(24, 66, 182, 1);
                                    }

                                    &:hover p,
                                    &:hover .iconfont {
                                        color: rgba(255, 255, 255, 1);
                                    }

                                }
                            }
                        }
                    }

                    h4 {
                        font-size: 24px;
                        font-weight: 400;
                        letter-spacing: 0px;
                        line-height: 28.13px;
                        margin-bottom: 20px;
                        color: rgba(51, 51, 51, 1);
                    }
                }
            }
        }
    }
}

.teams {
    margin-top: 150px;
    width: 1200px;
    // 隐藏width: 1200px;的多余部分
    overflow: hidden;

    .teacher-list {
        display: flex;
        width: 3954px;
        height: 411px;
        margin-top: 60px;
        margin-bottom: 60px;
        // background-color: aquamarine;
        animation-fill-mode: both;
        animation: move 9s linear infinite;

        &:hover {
            animation-play-state: paused;
        }

        .item-teacher {
            width: 282px;
            height: 391px;
            margin-right: 24px;
            border-radius: 20px;
            box-shadow: 0 20px 30px rgba(228, 231, 235, 0.7);

            &:nth-last-child(1) {
                margin-right: 0;
            }

            img {
                width: 282px;
                height: 282px;
                border-radius: 20px 20px 0 0;
            }

            h3 {
                margin-top: 24px;
                margin-bottom: 10px;
                text-align: center;
                font-size: 22px;
                font-weight: 400;
                letter-spacing: 0px;
                line-height: 25.78px;
                color: rgba(51, 51, 51, 1);
            }

            p {
                text-align: center;
                font-size: 16px;
                font-weight: 400;
                letter-spacing: 0px;
                line-height: 18.75px;
                color: rgba(102, 102, 102, 1);
            }

            &:hover {
                background: rgba(24, 66, 182, 1);
            }

            &:hover h3,
            &:hover p {
                color: rgba(255, 255, 255, 1);
            }
        }
    }

    .more {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 116px;
        height: 30px;
        line-height: 30px;
        margin-bottom: 150px;
        font-size: 18px;
        font-weight: 400;
        letter-spacing: 0;
        color: rgba(153, 153, 153, 1);

        span {
            font-size: 18px !important;
            color: rgba(153, 153, 153, 1);
        }

        &:hover,
        &:hover span {
            color: rgba(24, 66, 182, 1);
        }
    }

    @keyframes move {
        0% {
            transform: translate(0);
        }

        100% {
            transform: translate(-1530px);
        }
    }
}

.works {
    .work-list {
        width: 1200px;
        height: 625px;
        border-radius: 20px;
        // background: pink;
        background-image: url(../assets/uploads/bg-work.webp);

        h3 {
            text-align: center;
            padding-top: 22px;
            // padding-bottom: 22px;
            font-size: 24px;
            font-weight: 400;
            letter-spacing: 0px;
            line-height: 28.13px;
            color: rgba(255, 255, 255, 1);
        }

        .work-title {
            display: flex;
            text-align: center;
            height: 51px;
            line-height: 51px;
            color: rgba(255, 255, 255, 1);
            border-bottom: 1px solid rgba(228, 231, 235, 0.3);

            li {
                &:nth-child(1) {
                    flex: 1;
                }

                &:nth-child(2) {
                    flex: 1;
                }

                &:nth-child(3) {
                    flex: 2.5;
                }

                &:nth-child(4) {
                    flex: 3;
                }

                &:nth-child(5) {
                    flex: 2;
                }

                &:nth-child(6) {
                    flex: 1.5;
                }

                &:nth-child(7) {
                    flex: 1.5;
                }
            }
        }

        .work-main {
            width: 1200px;
            height: 459px;
            overflow: hidden;

            .work-infor {
                width: 100%;
                height: 1020px;
                animation: animation 12s linear infinite;

                &:hover {
                    animation-play-state: paused;
                }

                li {
                    display: flex;
                    align-items: center;
                    width: 100%;
                    height: 51px;
                    // animation: animation 5s linear infinite;

                    &:nth-child(2n) {
                        background: rgba(255, 255, 255, 0.15);
                    }

                    &:nth-child(2n+1) {
                        background: rgba(255, 255, 255, 0.1);
                    }

                    span {
                        display: inline-block;
                        text-align: center;
                        font-size: 16px;
                        font-weight: 400;
                        letter-spacing: 0px;
                        line-height: 18.75px;
                        color: rgba(255, 255, 255, 1);

                        &:nth-child(1) {
                            flex: 1;
                        }

                        &:nth-child(2) {
                            flex: 1;
                        }

                        &:nth-child(3) {
                            flex: 2.5;
                        }

                        &:nth-child(4) {
                            flex: 3;
                        }

                        &:nth-child(5) {
                            flex: 2;
                        }

                        &:nth-child(6) {
                            flex: 1.5;
                        }

                        &:nth-child(7) {
                            flex: 1.5;
                        }
                    }
                }
            }
        }

        .work-footer {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
            height: 64px;
            background: rgba(255, 255, 255, 0.2);
            border-top: 1px solid rgba(255, 255, 255, 0.3);


            //更多按钮
            .more {
                display: flex;
                justify-content: space-between;
                align-items: center;
                width: 100px;
                font-size: 18px;
                font-weight: 400;
                letter-spacing: 0px;
                color: rgba(255, 255, 255, 1);

                span {
                    font-size: 18px !important;
                    color: rgba(255, 255, 255, 1);
                }

                &:hover,
                &:hover span {
                    color: rgba(24, 66, 182, 1);
                }
            }
        }

        @keyframes animation {
            0% {
                transform: translate(0);
            }

            100% {
                // transform: translate(-2100px);
                transform: translateY(-561px);
            }
        }
    }
}

.dynamic {
    width: 100%;
    height: 747px;
    background: linear-gradient(180deg, rgba(24, 66, 182, 0.02) 0%, rgba(24, 66, 182, 0.06) 100%);
    margin-top: 150px;

    .dyna-list {
        display: flex;
        justify-content: space-between;
        width: 1200px;
        height: 439px;

        // background: paleturquoise;
        .item-dyna {
            position: relative;
            width: 386px;
            height: 439px;

            .layer1 {
                position: absolute;
                top: 0;
                left: 0;
                width: 386px;
                height: 383px;
                opacity: 0.1;
                border-radius: 20px;
                background: linear-gradient(91.9deg, rgba(24, 66, 182, 1) 0%, rgba(90, 136, 255, 0.73) 100%);
            }

            .layer2 {
                position: absolute;
                top: 14px;
                left: 14px;
                width: 358px;
                height: 87px;
                padding: 20px;
                opacity: 1;
                border-radius: 16px;
                background: linear-gradient(90deg, rgba(38, 212, 140, 1) 0%, rgba(38, 212, 140, 0.59) 100%);

                .more {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    width: 100%;
                    font-size: 24px;
                    font-weight: 500;
                    letter-spacing: 0px;
                    line-height: 28.13px;
                    color: rgba(255, 255, 255, 1);

                    span {
                        font-size: 18px !important;
                        color: rgba(255, 255, 255, 1);
                    }

                    &:hover,
                    &:hover span {
                        color: rgba(24, 66, 182, 1);
                    }
                }
            }

            .layer3 {
                position: absolute;
                top: 83px;
                left: 0;
                width: 386px;
                height: 356px;
                padding: 20px;
                opacity: 1;
                border-radius: 20px;
                background: rgba(255, 255, 255, 0.8);
                border-top: 1px solid rgba(255, 255, 255, 1);
                backdrop-filter: blur(14px);

                .new-list {
                    width: 100%;
                    height: 100%;

                    .item-news {
                        width: 100%;
                        height: 42px;
                        // border-radius: 30px;
                        // background: pink;
                        white-space: nowrap; /* 保证文本不换行 */
                        overflow: hidden; /* 隐藏超出容器的内容 */
                        text-overflow: ellipsis; /* 使用省略号表示被截断的文本 */
                        a {
                            font-size: 18px;
                            font-weight: 400;
                            letter-spacing: 0;
                            line-height: 21.1px;
                            color: rgba(51, 51, 51, 1);

                            span {
                                margin-right: 10px;
                                font-size: 18px;
                                font-weight: 700;
                                letter-spacing: 0;
                                line-height: 21.1px;
                                color: rgba(24, 66, 182, 1);
                            }
                        }

                        &:nth-child(1) a span,
                        &:nth-child(2) a span,
                        &:nth-child(3) a span {
                            color: rgba(255, 69, 69, 1);
                        }
                    }
                }
            }

            &:nth-child(1) .layer2 {
                background: linear-gradient(90deg, rgba(24, 66, 182, 1) 0%, rgba(90, 136, 255, 0.59) 100%);
            }

            &:nth-child(2) .layer2 {
                background: linear-gradient(90deg, rgba(97, 135, 237, 1) 0%, rgba(97, 135, 237, 0.59) 100%);
            }
        }
    }
}